package com.cnjson.sensor.protocolARP;

import java.nio.channels.Selector;
import java.nio.channels.SocketChannel;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;

public interface Protocol {
    void read(SocketChannel client, Selector selector, Map<String, SocketChannel> serverSocketMap,
              Map<SocketChannel, AtomicBoolean> isWritingMap, Map<SocketChannel, AtomicBoolean> isReadingMap);
}
